package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domain.business.BusinessCountDO;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author diva
 * @date 2025/10/15 10:48
 * @ProjectName
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {

    BusinessCountDO selectCountBusiness();

    List<BusinessDO> selectByPage(BusinessListDTO dto);

    List<Business> selectPool(BusinessPoolDTO dto);
}
